//
//  BMSOpMergeEventConstants.h
//  WDBMS
//
//  Created by YeJary on 2025/5/14.
//

#ifndef BMSOpMergeEventConstants_h
#define BMSOpMergeEventConstants_h

#pragma mark - 基础事件

#define BMS_EVENT_USER_LOGIN               @"user_login"
#define BMS_EVENT_BASE_INSTALL             @"base_install"
#define BMS_EVENT_BASE_JSON                @"base_json"
#define BMS_EVENT_BASE_PRIVACY             @"base_privacy"
#define BMS_EVENT_BASE_PRIVACY_CLICK       @"base_privacy_click"
#define BMS_EVENT_REALNAME_JSON            @"realname_json"
#define BMS_EVENT_REALNAME_INFO_SHOW       @"realname_info_show"
#define BMS_EVENT_REALNAME_INFO_CLICK      @"realname_info_click"
#define BMS_EVENT_REALNAME_VERIFY_SUCCESS  @"realname_verify_success"
#define BMS_EVENT_BASE_GAME_START          @"base_game_start"

#pragma mark - 活跃相关

#define BMS_EVENT_ACTIVE                   @"active"
#define BMS_EVENT_ADS_ACTIVE               @"ads_active"
#define BMS_EVENT_ACTIVE_REGISTER          @"active_register"
#define BMS_EVENT_ACTIVE_TIME              @"time"


#pragma mark - 广告事件

#define BMS_EVENT_AD_SCENARIO_ID          @"ad_scenarioid"
#define BMS_EVENT_AD_APP_ID               @"ad_appid"
#define BMS_EVENT_AD_REQUEST              @"ad_request"
#define BMS_EVENT_AD_FILL                 @"ad_fill"
#define BMS_EVENT_AD_IMPRESSION           @"ad_impression"
#define BMS_EVENT_AD_IMPRESSION_DONE      @"ad_impression_done"
#define BMS_EVENT_AD_CLICK                @"ad_click"

#pragma mark - 内购事件

#define BMS_EVENT_PURCHASE_SUCCESS        @"purchase_success"

#pragma mark -------- 参数名--------------

#define BMS_PARAM_TAB1      @"tab1"
#define BMS_PARAM_TAB2      @"tab2"
#define BMS_PARAM_TAB3      @"tab3"
#define BMS_PARAM_TABN      @"tabN"
#define BMS_PARAM_AD_TYPE   @"ad_t"
#define BMS_PARAM_PDI       @"pdi"
#define BMS_PARAM_PDT       @"pdt"
#define BMS_PARAM_PDN       @"pdn"
#define BMS_PARAM_PAMT      @"pamt"
#define BMS_PARAM_ODN       @"odn"
#define BMS_PARAM_PLATFORM  @"platform"
#define BMS_PARAM_OS        @"os"
#define BMS_PARAM_IDFA      @"idfa"
#define BMS_PARAM_IDFV      @"idfv"
#define BMS_PARAM_IMEI      @"imei"
#define BMS_PARAM_ANDROIDID @"android_id"
#define BMS_PARAM_MAC       @"mac"
#define BMS_PARAM_OAID      @"oaid"
#define BMS_PARAM_DM        @"d_m"
#define BMS_PARAM_CT        @"ct"
#define BMS_PARAM_YMID      @"ym_id"
#define BMS_PARAM_WDS       @"wds"

#pragma mark ------------- 数据类型 ---------------

#define BMS_DTYPE_USER_INFO         @"u"
#define BMS_DTYPE_USER_ACTION       @"u_ac"
#define BMS_DTYPE_AD_ACTION         @"ad_ac"
#define BMS_DTYPE_PURCHASE          @"iap"
#define BMS_DTYPE_USER_OPERATION    @"u_op"

#pragma mark ------------- 广告平台 ---------------

#define BMS_AD_PLATFORM_GDT          @"广点通"
#define BMS_AD_PLATFORM_CSJ          @"穿山甲"
#define BMS_AD_PLATFORM_MTG          @"MTG"
#define BMS_AD_PLATFORM_KUAISHOU     @"快手"
#define BMS_AD_PLATFORM_ADMOB        @"AdMob"
#define BMS_AD_PLATFORM_WONDER       @"Wonder"
#define BMS_AD_PLATFORM_VUNGLE       @"Vungle"
#define BMS_AD_PLATFORM_KLEIN        @"Klein"
#define BMS_AD_PLATFORM_BAIDU        @"百度"
#define BMS_AD_PLATFORM_SIGMOB       @"Sigmob"
#define BMS_AD_PLATFORM_INMOBI       @"InMobi"
#define BMS_AD_PLATFORM_UNITYADS     @"UnityAds"

#pragma mark ------------- 广告类型 ---------------

#define BMS_AD_TYPE_REWARD_VIDEO   @"激励视频"
#define BMS_AD_TYPE_INTERSTITIAL   @"插屏全屏"
#define BMS_AD_TYPE_BANNER         @"banner"
#define BMS_AD_TYPE_SPLASH         @"开屏"
#define BMS_AD_TYPE_NATIVE_FEED    @"信息流"

#pragma mark ------------- 商品类型 ---------------

#define BMS_PRODUCT_TYPE_CONSUMABLE         @"消耗型"
#define BMS_PRODUCT_TYPE_NON_CONSUMABLE     @"非消耗型"
#define BMS_PRODUCT_TYPE_SUBSCRIPTION       @"续期订阅"


#pragma mark - 埋点平台控制宏（options字典Key）

#define BMS_TRACK_DISABLE_THINKING   @"disableThinking"  // 禁用 ThinkingAnalytics
#define BMS_TRACK_DISABLE_UM         @"disableUM"        // 禁用 友盟
#define BMS_TRACK_DISABLE_BMS        @"disableBMS"       // 禁用 BMS 合并上报
#define BMS_TRACK_DISABLE_ADJUST     @"disableAdjust"    // 禁用 Adjust

#pragma mark ------------- 事件描述 ---------------

// 活跃统计
#define BMS_WDS_ACTIVE_STATISTICS               @"活跃用户统计"
#define BMS_WDS_FIRST_LAUNCH_AFTER_INSTALL      @"用户安装后首次进入应用"

// 配置拉取与隐私实名弹窗
#define BMS_WDS_FETCH_CONFIG                    @"获取下发配置-是否打开隐私协议/实名认证"
#define BMS_WDS_PRIVACY_POPUP_SHOW             @"隐私弹窗显示"
#define BMS_WDS_PRIVACY_POPUP_ACTION           @"隐私弹窗操作"

// 实名认证弹窗
#define BMS_WDS_REALNAME_CONFIG_FETCH           @"实名认证配置"
#define BMS_WDS_REALNAME_POPUP_SHOW             @"实名认证弹窗展示"
#define BMS_WDS_REALNAME_POPUP_ACTION           @"实名认证弹窗点击提交"
#define BMS_WDS_REALNAME_VERIFY_SUCCESS         @"实名认证弹窗校验成功"

// 用户行为
#define BMS_WDS_USER_ENTER_GAME                 @"用户进入游戏"
#define BMS_WDS_ACTIVATE                        @"激活"
#define BMS_WDS_REGISTER                        @"注册"
#define BMS_WDS_DURATION                        @"时长"

// 广告相关
#define BMS_WDS_AD_SCENE                        @"广告场景"
#define BMS_WDS_AD_APPID                        @"获取下发配置-广告AppID"
#define BMS_WDS_AD_REQUEST                      @"广告请求"
#define BMS_WDS_AD_FILL                         @"广告填充"
#define BMS_WDS_AD_SHOW                         @"广告展示"
#define BMS_WDS_AD_FINISH                       @"广告播放完成"
#define BMS_WDS_AD_CLICK                        @"广告点击"

// 内购
#define BMS_WDS_IAP_SUCCESS                     @"购买成功"

#endif /* BMSOpMergeEventConstants_h */
